<template>
  <div>
    <!-- 文章列表页面 -->
    <ArticleItem
      v-for="obj in list"
      :key="obj.art_id"
      :artObj="obj"
      @removeArt="removeFn"
    ></ArticleItem>
  </div>
</template>

<script>
import ArticleItem from './ArticleItem'
export default {
  props: {
    list: Array
  },
  methods: {
    removeFn (art_id, type) {
      this.$emit('removeA', art_id, type)
    }
  },
  components: {
    ArticleItem
  }
}
</script>

<style>
</style>
